/************************************
 * Package: RGcpp					*
 * Authors: Rui Eduardo Gouveia Gil	*
 * Date: 2010						*
 ************************************/
#ifndef __RGCPP_MIMETYPES_H__
#define __RGCPP_MIMETYPES_H__

#include <string>
#include <boost/algorithm/string.hpp>

#include "rgcpp/structs/Map.h"

namespace rgcpp
{

class MIMETypes
{
	private:
		static Map<std::string,std::string> mimeTypes;

	public:
		static std::string findMIMEType(const std::string& fileName);

	private:
		static void createMIMETypes();
};

}

#endif
